package com.ym.fallback;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.ym.util.JSONResult;

public class LimitFallback {
    public static JSONResult limitFallbackMethod(Long id, BlockException e){
        e.printStackTrace();
        return JSONResult.error("服务降级触发:降级类降级");
    }
}
